* {
  padding: 0;
  margin: 0;
  list-style: none;
}

#header {
  padding: 15px;
  background-color: #eeeeee;
  transition: .2s;
  position: sticky;
  z-index: 999;
}

#header .header-content {
  display: flex;
  flex-wrap: wrap;
}

#header .header-content li {
  margin: 3px;
  font-size: 14px;
  vertical-align: middle;
}

#header .header-content li span {
  vertical-align: middle;
}

#header select, #header input {
  padding: 2px 4px;
  outline: none;
}

#header button {
  box-sizing: border-box;
  padding: 2px 15px;
  border: none;
  background-color: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
}

#header button:hover {
  opacity: .7;
  border-color: #e6e6e6;
}

#content {
  padding: 15px;
  box-sizing: border-box;
  overflow: auto;
}

#content #tableCenter {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

#content #tableCenter thead tr {
  color: #95aa6d;
  font-weight: bold;
  position: sticky;
  top: -15px;
}

#content #tableCenter thead tr th {
  white-space: nowrap;
  padding: 5px 10px;
  font-size: 16px;
}

#content #tableCenter tbody tr.active {
  background-color: yellow !important;
}

#content #tableCenter tbody td {
  padding: 12px 10px;
  color: #006d36;
}

#content #tableCenter tbody td .actions {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#content #tableCenter tbody td .actions button {
  width: 80%;
}

#content #tableCenter td, #content #tableCenter th {
  text-align: center;
}

#content #tableCenter tr:nth-child(even) {
  background: #e6eed6;
}

#content #tableCenter tr:nth-child(odd) {
  background: white;
}

#content .site_img {
  transition: .2s;
}

#content .site_img:hover {
  transform: scale(4);
}

.modalbox {
  max-width: 600px;
  width: 0px;
  box-sizing: content-box;
  overflow: hidden;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  z-index: 888;
  background-color: #fff;
}

.modalbox #modalbox-title {
  text-align: center;
  font-weight: bold;
}

.modalbox #modalbox-content {
  min-height: 100px;
  max-height: 500px;
  overflow-y: auto;
  margin: 10px 0px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  box-sizing: border-box;
}

.modalbox #modalbox-content > ul > li {
  margin-bottom: 10px;
}

.modalbox #modalbox-content select, .modalbox #modalbox-content input[type=text] {
  width: 80%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.modalbox #modalbox-content select:focus, .modalbox #modalbox-content input[type=text]:focus {
  outline: none;
  border: 1px solid #8a8a8a;
}

.modalbox #modalbox-control {
  display: flex;
  justify-content: center;
}

.modalbox #modalbox-control .control {
  width: 80%;
  text-align: right;
}

.modalbox #modalbox-control button {
  padding: 5px 20px;
  outline: none;
  cursor: pointer;
  margin: 0px 3px;
  border: none;
  border-radius: 15px;
  color: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

.modalbox #modalbox-control button:nth-child(1) {
  background-color: #039703;
}

.modalbox #modalbox-control button:nth-child(2) {
  background-color: #a70000;
}

.modalbox #modalbox-control button:hover {
  opacity: .7;
}

.modalbox .actions label {
  margin-right: 5px;
}

.modalbox .actions label > input {
  vertical-align: middle;
  margin-right: 3px;
}

.modalbox.show {
  animation: showBoxan .5s forwards;
}

.modalbox.hide {
  animation: hideBoxan .5s forwards;
}

#globalMsg {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  animation: move .5s forwards;
}

#globalMsg .tips {
  background-color: #fff;
  border-radius: 10px;
  padding: 5px 15px;
  letter-spacing: 3px;
  font-weight: bold;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

#globalConfirm {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  animation: move .5s forwards;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
  padding: 10px;
  z-index: 9999;
  background-color: #fff;
}

#globalConfirm .container {
  min-width: 300px;
}

#globalConfirm .container .title {
  padding-bottom: 15px;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

#globalConfirm .container .control {
  display: flex;
  justify-content: space-around;
}

#globalConfirm .container .control button {
  border: none;
  padding: 8px 20px;
  cursor: pointer;
}

#globalConfirm .container .control button:hover {
  opacity: .7;
}

#globalConfirm .container .control button:nth-child(2) {
  background-color: #740f0f;
  color: #fff;
}

@keyframes move {
  to {
    top: 30%;
  }
}

@keyframes showBoxan {
  to {
    width: 80%;
    padding: 15px;
  }
}

@keyframes hideBoxan {
  to {
    transform: scale(0);
    opacity: 0;
    width: 0;
    padding: 0;
  }
}
